#include <iostream> 
#include <fstream>
#include "def.h"
using namespace std;

int main()
{
    // 不会提供初始化
    Point *coord = new Point[3];
    cout << coord[2].y << "\n";
    // 对所有单元进行默认初始化
    Point *c2 = new Point[3]{};
    cout << c2[2].y << "\n";
    fstream fin {"grid.dat"};
    if(fin.is_open()) cout << "open\n";
    return 0;
}